package com.pond.pond.domain.dto;

import javax.validation.constraints.NotBlank;

/**
 * 更新日志请求DTO
 */
public class UpdateLogRequest {

    /** 设备唯一标识 */
    @NotBlank(message = "设备ID不能为空")
    private String deviceId;

    /** 当前版本号 */
    @NotBlank(message = "当前版本号不能为空")
    private String currentVersion;

    /** 目标版本号 */
    @NotBlank(message = "目标版本号不能为空")
    private String targetVersion;

    /** 更新状态 */
    @NotBlank(message = "更新状态不能为空")
    private String updateStatus;

    /** 错误信息 */
    private String errorMessage;

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getCurrentVersion() {
        return currentVersion;
    }

    public void setCurrentVersion(String currentVersion) {
        this.currentVersion = currentVersion;
    }

    public String getTargetVersion() {
        return targetVersion;
    }

    public void setTargetVersion(String targetVersion) {
        this.targetVersion = targetVersion;
    }

    public String getUpdateStatus() {
        return updateStatus;
    }

    public void setUpdateStatus(String updateStatus) {
        this.updateStatus = updateStatus;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }
}